home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Utils / NEW - Stylish / Bin / stylish-0.2.1-fx+fl+tb.xpi / chrome / stylish.jar / content / stylish-edit.xul < prev    next >
Extensible Markup Language  |  2005-12-20  |  2KB  |  62 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://stylish/skin/" type="text/css"?>
  4.  
  5. <!--
  6.     This code is licensed under the GPL (http://www.gnu.org/copyleft/gpl.txt) 
  7.     Author: Jason Barnabe <jason_barnabe@fastmail.fm>
  8.     Release date: Oct 9, 2005
  9. -->
  10.  
  11. <!DOCTYPE dialog [
  12.     <!ENTITY % stylish SYSTEM "chrome://stylish/locale/stylish.dtd">
  13.     <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  14.     %stylish;
  15.     %brandDTD;
  16. ]>
  17.  
  18. <dialog
  19.     id="stylish-edit-window"
  20.     title="&stylish.editwindow.title;"
  21.     orient="vertical"
  22.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  23.     buttons="accept,cancel"
  24.     persist="screenX screenY width height"
  25.     onload="stylish.editInit()"
  26.   ondialogaccept="return stylish.editOK()"
  27.     buttonlabelaccept="&stylish.save;">
  28.     
  29.     <script type="application/javascript" src="rdfds.js"/>
  30.     <script type="application/javascript" src="stylishCommon.js"/>
  31.     <script type="application/javascript" src="stylish.js"/>
  32.  
  33.     <stringbundle id="strings" src="chrome://stylish/locale/stylish.properties"/>
  34.  
  35.     <grid flex="1">
  36.         <columns>
  37.             <column/>
  38.             <column flex="1"/>
  39.         </columns>
  40.         <rows>
  41.             <row>
  42.                 <label control="description" value="&stylish.description;"/>
  43.                 <textbox id="description" flex="1"/>
  44.             </row>
  45.             <row>
  46.                 <label value="&stylish.enabled;"/>
  47.                 <checkbox id="enabled" checked="true"/>
  48.             </row>
  49.             <row flex="1">
  50.                 <vbox>
  51.                     <label control="code" value="&stylish.code;"/>
  52.                     <button label="&stylish.xulns;" tabindex="-1" oncommand="stylish.insertCodeAtStart(stylish.CSSXULNS);"/>
  53.                     <button label="&stylish.htmlns;" tabindex="-1" oncommand="stylish.insertCodeAtStart(stylish.CSSHTMLNS);"/>
  54.                     <button label="&stylish.sites;" tabindex="-1" oncommand="stylish.openSitesDialog()"/>
  55.                 </vbox>
  56.                 <textbox id="code" multiline="true" flex="1"/>
  57.             </row>
  58.         </rows>
  59.     </grid>
  60.  
  61. </dialog>
  62.